/*
 * @(#)NotificationDAO.java 创建于 2015-10-23 16:30:42
 *
 * 版权：版权所有 Bsoft 保留所有权力。
 */
package com.bsoft.gol.hbs.dao;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import com.bsoft.gol.hbs.bbpmessagel.entity.BaseJpushtoken;

import java.util.List;

public abstract class JPushTokenDAO extends HibernateSupportDelegateDAO<BaseJpushtoken> {

    @DAOMethod(sql = "from BaseJpushtoken where tenantId=:tenantId")
    public abstract List<BaseJpushtoken> findTokens(@DAOParam("tenantId") String tenantId);
}
